package com.koalac.ironman.util;

public class KeyUtil {

	/**
	 * 各Activity的标题
	 */
	public static final String SETTING_ACTIVITY_TITLE = "个人设置";
	public static final String SCAN_CAPTURE_ACTIVITY_TITLE = "扫码签到";
	public static final String DEVICE_QUESTION_ACTIVITY_TITLE = "问题反馈";
	public static final String STATION_DEYAIL_ACTIVITY_TITLE = "质检详情";
	public static final String STATION_LIST_ACTIVITY_TITLE = "质量检查";
	public static final String ADDRESSBOOK_ACTIVITY_TITLE = "通讯录";
	public static final String FEEDBACK_ACTIVITY_TITLE = "问题列表";
	public static final String QUESTION_DETAIL_ACTIVITY_TITLE = "问题详情";
	public static final String IMAGE_SHOW_ACTIVITY_TITLE = "查看图片";
	public static final String MESSAGE_ACTIVITY_TITLE = "消息中心";
	public static final String MESSAGE_DETAIL_ACTIVITY_TITLE = "消息详情";
	public static final String FEEDBACK_TEXT_DETAIL_ACTIVITY_TITLE = "全文";
	public static final String ACCOUNT_MANAGE_ACTIVITY_TITLE = "账号管理";
	public static final String PHOTO_ABLUM_ACTIVITY_TITLE = "图片";

	/**
	 * 问题反馈
	 */
	public static final String LOCATION = "location";

	/**
	 * 质检详情
	 */
	public static final String DEVICE_POSITION = "device_position";
	public static final String DEVICE_ID = "device_id";
	public static final String POSITION_ID = "position_id";
	public static final String POSITION_DETAIL_DATA = "position_detail_data";
	public static final String POSITION_DATA = "position_data";

	/**
	 * 扫码签到
	 */
	public static final String SCAN_RESULT = "scan_result";
	public static final String SCAN_POSITION = "scan_position";
	public static final String SCAN_DATA = "scan_data";

	/**
	 * 问题详情
	 */
	public static final String IMAGE_POSITION = "image_position";
	public static final String IMAGE_DATA = "image_data";
	public static final String FEEDBACK_ID = "feedback_id";

	/**
	 * 消息列表
	 */
	public static final String MESSAGE_DETAIL = "message_detail";
	public static final String MESSAGE_DATA = "message_data";

	/**
	 * 问题分享
	 */
	public static final String FEEDBACK_SHARE_URL_HEAD = "http://p.v5life.cn/index.php?m=Feedback&a=mobileDetail&id=";
	public static final String FEEDBACK_SHARE_TITLE = "物管通问题分享";

	/**
	 * 网络相关的消息code code的范围：1000
	 */
	public static final int TIME_OUT_CODE = 1 << 1000;
	public static final int REQUEST_SUCCESS_CODE = 1 << 1001;
	public static final int REQUEST_FAIL_CODE = 1 << 1002;

	/**
	 * 账号管理 code的范围：2000
	 */
	public static final int SWITCH_ACCOUNT_LOGIN = 1 << 2000;
	public static final int NO_ACCOUNT_SELECT_INDEX = 1 << 2001;

	/**
	 * 相册选择 code的范围：0
	 */
	public static final String MAX_SELECT_PHOTO_COUNT = "max_select_photo_count";
	public static final String SELECT_PHOTO_FILEPATHS = "select_photo_filepaths";
	public static final int PHOTO_SELECT = 1 << 0;
	public static final int PHOTO_NOT_SELECT = 1 << 1;
	public static final int PHOTO_READ_FINISH = 1 << 2;

	/**
	 * 扫描二维码 code的范围：3000
	 */
	public static final int SCAN_TIME_OUT = 1 << 3000;

	/**
	 * 问题列表 code的范围：4000
	 */
	public static final String FEEKBACK = "feekback";
	public static final String FEEKBACK_DATA = "feekback_data";
	public static final String FEEKBACK_SIGN_ID = "feekback_sign_id";
	public static final String FEEKBACK_ID = "feekback_id";
	public static final String FEEDBACK_TEXT = "feedback_text";
	public static final int MESSAGE_TAG_VISIABLE = 1 << 4000;
	public static final int MESSAGE_DETAIL_VIEW = 1 << 4001;

	/**
	 * 主页 “质量检查”,“问题列表”,“通讯录”按钮在GridView的位置
	 */
	public static final String COVER_FILE_NAME = "cover.jpg";
	public static final float COVER_HEIGHT_RATIO = 3f / 8.8f;
	public static int MESSAGE_COUNT = 0;
	public static final int QUALITY_CHECK = 0;
	public static final int PROBLEM_FEEDBACK = 1;
	public static final int ADDRESS_BOOK = 2;

}
